home *** CD-ROM | disk | FTP | other *** search
- Path: news.cs.columbia.edu!news-not-for-mail
- From: jean@news.cs.columbia.edu (Hyae-Jin Oh)
- Newsgroups: comp.lang.c++
- Subject: Re: [HELP] ostream inheritance Q?
- Date: 29 Mar 1996 14:04:32 -0500
- Organization: Columbia University Department of Computer Science
- Message-ID: <4jhc80$bh@ground.cs.columbia.edu>
- References: <4jf4lc$t8l@ground.cs.columbia.edu>
- NNTP-Posting-Host: ground.cs.columbia.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hyae-Jin Oh (jean@news.cs.columbia.edu) wrote:
-
-
- : {
- : Nostream nout(cout.rdbuf());
-
- : nout << "TEST" << endl;
-
- : nout.header("blah"); --------- 1
- : nout << header("blah"); --------- 2
- : }
-
- oops. i meant
-
- nout.foo("blah"); --- 1
- nout << foo("blah"); -- 2
-
-
- --
- Hyae-Jin Oh
- jean@cs.columbia.edu
- http://www.cs.columbia.edu/~jean/
-